class Tree
{
    // return the Height of the given Binary Tree
    int height(Node root) 
    {
         // Your code here
         if(root==null){
             return 0;
         }
         return 1+Math.max(height(root.left),height(root.right));
    }   
}